<template>
  <view class="empty-data-container">
    <image class="empty-image" src="/static/images/data-empty.png" mode="aspectFit"></image>
    <!-- <text class="empty-text">{{ text }}</text> -->
  </view>
</template>

<script>
export default {
  name: 'EmptyData',
  props: {
    // 提示文字
    text: {
      type: String,
      default: '暂无数据'
    },
  }
}
</script>

<style lang="scss">
.empty-data-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60rpx 0;
  
  .empty-image {
    width: 404rpx;
    height: 404rpx;
    margin-bottom: 20rpx;
  }
  
  .empty-text {
    font-size: 28rpx;
    color: #999;
  }
}
</style> 